package main;

import com.nanosl.lib.db.Manager;
import java.io.IOException;
import java.net.UnknownHostException;

public class Test {

    public static void main(String[] args) throws UnknownHostException, IOException {
        b();
    }

    private static void a() {

//        System.out.println("Test");
//        Manager.setHost("192.168.1.100");
//        Manager.setDatabase("cbisx");
        Manager.init("cbisPU", "192.168.1.100", "cbis");
        Manager m = Manager.getInstance();
        System.out.println(m.getEm());
//        m.describe();
//        
//        Socket socket = null;
//        boolean reachable = false;
//        try {
//            socket = new Socket();
//            socket.connect(new InetSocketAddress("nano.lk", 80), 500);
//            reachable = true;
//        } catch (Exception e) {
//        } finally {
//            if (socket != null) {
//                try {
//                    socket.close();
//                } catch (IOException e) {
//                }
//            }
//        }
//        System.out.println(reachable);
    }

    private static void b() {
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
    }
}
